package wf.dto.geocon;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import java.io.Serializable;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
import javax.persistence.Transient;

/**
 *
 * @author Rómulo Galindo Tanta
 */
@Entity
@NamedNativeQueries({
    @NamedNativeQuery(
            name = "frageo.pbgeocon",
            query = "select * from frageo.pbgeocon(:p_co_geocon)",
            resultClass = GeoconDto.class)
})
public class GeoconDto implements Serializable {

    @Id
    @Column(name = "id_geocon")
    private int id_geocon;
    @Column(name = "ti_geovis", length = 1)
    private String ti_geovis;
    @Column(name = "nu_geoace")
    private short nu_geoace;
    @Column(name = "no_geocon")
    private String no_geocon;
    @Transient
    List l_geopun;
    @Transient
    List l_geolin;
    @Transient
    private List l_capas;

    public int getId_geocon() {
        return id_geocon;
    }

    public void setId_geocon(int id_geocon) {
        this.id_geocon = id_geocon;
    }

    public String getNo_geocon() {
        return no_geocon;
    }

    public void setNo_geocon(String no_geocon) {
        this.no_geocon = no_geocon;
    }

    public short getNu_geoace() {
        return nu_geoace;
    }

    public void setNu_geoace(short nu_geoace) {
        this.nu_geoace = nu_geoace;
    }

    public String getTi_geovis() {
        return ti_geovis;
    }

    public void setTi_geovis(String ti_geovis) {
        this.ti_geovis = ti_geovis;
    }

    public List getL_geopun() {
        return l_geopun;
    }

    public void setL_geopun(List l_geopun) {
        this.l_geopun = l_geopun;
    }

    public List getL_geolin() {
        return l_geolin;
    }

    public void setL_geolin(List l_geolin) {
        this.l_geolin = l_geolin;
    }

    public List getL_capas() {
        return l_capas;
    }

    public void setL_capas(List l_capas) {
        this.l_capas = l_capas;
    }
}
